<center><b>{% if $is_show ==1 %}内容查看{%else%}{%$act_title%}表单{%/if%}</b></center>
<table border=1>
<form action="index.php?c=admin_user&m={%$act%}&post=1" method=post name=frm>
		<tr>
		<td>用户名</td>
		<td><input type=text name="admin_user_name" size=30 value='{%$admin_user_name%}' {% if $is_show ==1 %} readonly {%/if%}></td>
	</tr>
	<tr>
		<td>用户密码</td>
		<td>
		<input type="password" name="admin_user_pwd" size=30 value='{%$admin_user_pwd%}' {% if $is_show ==1 %} readonly {%/if%}>{% if $act=="edit"%}不修改密码请不要改动这里{%/if%}
		<input type="hidden" name="reg_admin_user_pwd" value="{%$admin_user_pwd%}">
		</td>
	</tr>
		<tr>
		<td>邮件地址</td>
		<td><input type=text name="admin_user_mail" size=30 value='{%$admin_user_mail%}' {% if $is_show ==1 %} readonly {%/if%}></td>
	</tr>
		<tr>
		<td>用户手机</td>
		<td><input type=text name="admin_user_mobile" size=30 value='{%$admin_user_mobile%}' {% if $is_show ==1 %} readonly {%/if%}></td>
	</tr>
		<tr>
		<td>用户状态</td>
		<td>
		<select name="admin_user_state" {% if $is_show ==1 %}disabled{%/if%}>
		{%html_options options=$user_state_arr selected=$admin_user_state %}
		</select>
		</td>
	</tr>
	<tr>
		<td>用户组</td>
		<td>
		<select name="admin_group_id" {% if $is_show ==1 %}disabled{%/if%}>
		{%html_options options=$admin_group_arr selected=$admin_group_id %}
		</select>
		</td>
	</tr>
	<tr>
		<td>权限选择</td>
		<td>
		
		<input type="radio" value="0" name="admin_user_permission_type" {%if $admin_user_permission_type==0 %}checked{%/if%}>组权限
		<input type="radio" value="1" name="admin_user_permission_type" {%if $admin_user_permission_type==1 %}checked{%/if%}>单设置
		</td>
	</tr>
		<tr>
		<td>权限</td>
		<td>
		{%create_popedom 
			permission_arr=$permission_arr 
			admin_permission_arr=$admin_permission_arr 
			post_name="admin_user_permission"
		%}
		</td>
	</tr>
		<tr>
		<td colspan=2 align=center>
		<input type=hidden name='admin_user_id' id='admin_user_id' value='{%$admin_user_id%}'>
		{% if $is_show ==1 %}
		<input type="button" value="返回" onclick="javascript:history.go(-1);">
		{% else %}
		<input type=submit value="提交">&nbsp;&nbsp;
		<input type=reset value="重置">
		{% /if %}
		</td>
	</tr>
</form>
</table>